﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T.E.ERP.Domains.WhereHorse
{
    /// <summary>
    /// 采购入库表
    /// </summary>
    [Table("PurchaseInRepository")]
    public class PurchaseInRepository
    {
        /// <summary>
        /// 单据编码 主键 销售订单信息表唯一标识
        /// </summary>
        [Key]
        public long Id { get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        public int BusinessType { get; set; }
        /// <summary>
        /// 操作员
        /// </summary>
        public int Oprator { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public int Repository { get; set; }
        /// <summary>
        /// 单据日期（默认当前日期：）
        /// </summary>
        public DateTime DocumentDate { get; set; }
        /// <summary>
        /// 到货单号
        /// </summary>
        public string ArivalNumber { get; set; }
        /// <summary>
        /// 业务状态（1:正常，2:异常）
        /// </summary>
        public int BusinessStatus { get; set; }
        /// <summary>
        /// 审核员
        /// </summary>
        public int ExamUser { get; set; }
        /// <summary>
        /// 供方
        /// </summary>
        public string SupplyUser { get; set; }
        /// <summary>
        /// 业务部门
        /// </summary>
        public string BusinessDempt { get; set; }
        /// <summary>
        /// 单据状态（1:开立）
        /// </summary>
        public int DocumentStatus { get; set; }
        /// <summary>
        /// 业务人员
        /// </summary>

        public int BusinessUser { get; set; }
        /// <summary>
        /// 期间
        /// </summary>
        public DateTime QiJianDat { get; set; }
        /// <summary>
        /// 单据类型
        /// </summary>
        public int DocumentType { get; set; }
        /// <summary>
        /// 备注类型
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 审核日期
        /// </summary>

        public DateTime ExamDate { get; set; }


    }
}
